package com.opal.modules.costReportForm.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.opal.modules.costReportForm.entity.table.CostReportInitialInfo;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CostReportInitialInfoEayui extends CostReportInitialInfo {

    //产品分类
    @JsonProperty("text")
    private String productName;//选择名称

    //水料工时
    @JsonProperty("id")
    private String slManHour;//选择值

    private String state; //默认关闭



    private List<CostReportInitialInfoEayui> children = new ArrayList<>();

    public CostReportInitialInfoEayui() {
    }

    public void addchildren(CostReportInitialInfoEayui info) {
        children.add(info);
    }

}